package com.zzc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

@Entity
@Table(name = "staff")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Staff {

    @Id
    @Column(name = "staff_id")
    private int staffId;
    @Column(name = "staff_name")
    private String staffName;
    @Column(name = "staff_phone")
    private String staffPhone;
    @Column(name = "staff_wechat")
    private String staffWeChat;
    @Column(name = "staff_address")
    private String staffAddress;
    @Column(name = "staff_partment")
    private String staffPartment;
    @Column(name = "staff_gender")
    private int staffGender;
    @Column(name = "staff_birth")
    private String staffBirth;
    @Column(name = "staff_picture")
    private String staffPicture;

}
